package com.wgchao.pharmacymg.application.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName: DrugStorageSave
 * @author: wgchao
 * @createTime: 2019/11/18 10:46 AM
 * @Description: 药库保存
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="DrugStorageSave",description="药库保存")
public class DrugStorageSave implements Serializable {
    /**
     * 药库编号
     */
    @NotNull(message = "药库编号缺失")
    @ApiModelProperty(value="药库编号",name="storageCode")
    private String storageCode;

    /**
     * 机构编号
     */
    @NotNull(message = "机构编号")
    @ApiModelProperty(value="机构编号",name="agencyCode")
    private String agencyCode;

    /**
     * 药库名称
     */
    @NotNull(message = "药库名称缺失")
    @ApiModelProperty(value="药库名称",name="storageName")
    private String storageName;

    /**
     * 凭证号
     */
    @NotNull(message = "凭证号缺失")
    @ApiModelProperty(value="凭证号",name="pzh")
    private String pzh;

    /**
     * 药库分类
     */
    @NotNull(message = "药库分类缺失")
    @ApiModelProperty(value="药库分类",name="dsl")
    private Long dsl;
}
